<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" >
  <head>
    <!-- Meta Tags -->
    <%= yield(:site_map) %>
    <%= yield(:image) %>
    <%= yield(:type) %>
    <%= yield(:title) %>
    <%= yield(:url) %>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!--<meta name="generator" content="WordPress 3.3.1" />-->

    <title>Sistema de Informaci&oacute;n Cultural Pukara</title>

    <link rel="shortcut icon" href="<%= root_url %>images/favicon_pukara.ico" />
    <%= csrf_meta_tag %>

    <!-- Stylesheets Links -->
    <link rel="stylesheet" href="<%= root_url %>stylesheets/structure.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="<%= root_url %>stylesheets/style.css" type="text/css" media="screen" />    
    <link rel="stylesheet" href="<%= root_url %>stylesheets/colour.php.css" type="text/css" media="screen" />
    <link rel='stylesheet' id='slb_style-css'  href='<%= root_url %>stylesheets/lightbox.css?ver=1.5.6b4' type='text/css' media='all' />
    <link rel='stylesheet' href="<%= root_url %>stylesheets/lightbox.css" rel="stylesheet" />
    <link rel='stylesheet' href="<%= root_url %>stylesheets/screen.css" rel="stylesheet" />
    <link rel='stylesheet' href="<%= root_url %>stylesheets/jquery-ui-1.8.20.custom.css" rel="stylesheet" />
    <link rel='stylesheet' href="<%= root_url %>stylesheets/jquery.treeview.css" rel="stylesheet" />

    <link rel="stylesheet" href="<%= root_url %>stylesheets/fancybox/source/jquery.fancybox.css?v=2.0.6" type="text/css" media="screen" />
    
    <link rel="stylesheet" href="<%= root_url %>stylesheets/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.2" type="text/css" media="screen" />
    <link rel="stylesheet" href="<%= root_url %>stylesheets/fancybox/source/helpers/jquery.fancybox-thumbs.css?v=2.0.6" type="text/css" media="screen" />

    <link rel="stylesheet" href="<%= root_url %>stylesheets/messages.css" type="text/css" />

    <%=stylesheet_link_tag'newStylePukara'%>

    <!-- CSS, JS Autogenerados por Rails -->
    <%= stylesheet_link_tag :all %>

    <!-- javascript Links -->
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery.js"></script>    
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery-1.7.2.min.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/lightbox.js"></script>
    <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js?ver=1.4'></script>
    <script type='text/javascript' src='<%= root_url %>javascripts/comment-reply.js?ver=20090102'></script>
    <script type='text/javascript' src='<%= root_url %>javascripts/lib.js?ver=1.5.6b4'></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery-ui.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery-ui-1.8.18.custom.min.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery-1.7.2.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery.ui.core.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery.ui.position.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery.ui.widget.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery.ui.autocomplete.js"></script>    
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery.ui.button.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/scrollableComboWithLookUp.js"></script>

   <script type='text/javascript' src="<%= root_url %>javascripts/jquery.cookie.js"></script>    
    <%#*<script type='text/javascript' src="<%= root_url %>
    <%#*javascripts/jquery.treeview.edit.js"></script>%>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery.treeview.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery.treeview.sortable.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery.treeview.async.js"></script>

    <script type='text/javascript' src="<%= root_url %>javascripts/table_pagination.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/jquery.tablesorter.js"></script>

    <script type='text/javascript' src="<%= root_url %>javascripts/multifile.js"></script>

    <script type='text/javascript' src="<%= root_url %>javascripts/date.js"></script>
    <script type='text/javascript' src="<%= root_url %>javascripts/messages.js"></script>
    
    <script type="text/javascript" src="<%= root_url %>javascripts/fancybox/source/jquery.fancybox.pack.js?v=2.0.6"></script>

    <script type="text/javascript" src="<%= root_url %>javascripts/fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>
    <script type="text/javascript" src="<%= root_url %>javascripts/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.2"></script>
    <script type="text/javascript" src="<%= root_url %>javascripts/fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.0"></script>
    <script type="text/javascript" src="<%= root_url %>javascripts/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=2.0.6"></script>   
    
    <%= yield :scripts %>
    <%= javascript_include_tag :defaults %>

    <!-- javascript -->
    <script type="text/javascript" id="slb_init">
      /* <![CDATA[ */(function($){$(document).ready(function(){SLB.initialize({"validateLinks":false,"autoPlay":true,"slideTime":"6","loop":true,"overlayOpacity":"0.8","animate":true,"captionEnabled":true,"captionSrc":true,"descEnabled":true,"layout":"'<div id=\"slb_container\"><div id=\"slb_content\">{slbContent}<div id=\"slb_nav_hover\">{navPrev}{navNext}<\/div><div id=\"slb_loading\">{slbLoading}<\/div><\/div><\/div><div id=\"slb_details\"><div id=\"slb_data\"><div id=\"slb_data_content\">{dataCaption}<span id=\"slb_data_desc\">{dataDescription}<\/span>{dataNumber}<span id=\"slb_nav\">{navPrev}{navNext}{navSlideControl}<\/span><\/div><div id=\"slb_close\">{slbClose}<\/div><\/div><\/div>'","altsrc":"slb_src","relAttribute":["slb"],"prefix":"slb"});})})(jQuery);/* ]]> */
    </script><!-- wp thread comment 1.4.9.4.002 -->

    <script type="text/javascript">
      $(document).ready(function() {
        $("#countries").change(function() {
          $.post("/Home/GetStates/", { countryID: $(this).val() }, function(data) {
            populateDropdown($("#states"), data);
          });
        });
      });

      function populateDropdown(select, data) {
        select.html('');
        $.each(data, function(id, option) {
          select.append($('<option></option>').val(option.value).html(option.name));
        });
      }

      /*Para el tablesorter*/
      $(document).ready(function(){
          $(".sorted_table").tablesorter();
        }
      );
    </script>    
    <!-- Stylesheets -->
    <style type="text/css" media="screen">
      .editComment, .editableComment, .textComment{
        display: inline;
      }
      .comment-childs{
        border: 1px solid #999;
        margin: 5px 2px 2px 4px;
        padding: 4px 2px 2px 4px;
        background-color: white;
      }
      .chalt{
        background-color: #E2E2E2;
      }
      #newcomment{
        border:1px dashed #777;width:90%;
      }
      #newcommentsubmit{
        color:red;
      }
      .adminreplycomment{
        border:1px dashed #777;
        width:99%;
        margin:4px;
        padding:4px;
      }
      .mvccls{
        color: #999;
      }

    </style>
  </head>
  <!-- end head -->

  <body class="main post fullWidth ">
    <div id="container" class="relative png">
      <!-- EL logo se referencia desde css con colour.php.css -->
      <div id="logo">
        <a href="<%= root_url %>" title="Sistema de Informaci&oacute;n Cultural Pukara">Sistema de Informaci&oacute;n Cultural Pukara</a>
      </div>

      <%#*<div id="toolbar">%>

        <%#*<p class="right">%>
          <%# if user_signed_in? %>
            <%#= current_user.lastname %>, <%= current_user.name %>
            <%#= link_to 'Cerrar sesión', destroy_user_session_path, :method => :delete, :class => 'white' %>
          <%# else %>
            <%#= link_to 'Iniciar sesión', new_user_session_path, :class => 'white' %> ó <%= link_to 'Registrarse', new_user_registration_path, :class => 'white' %>
          <%# end %>
        <%#*</p>%>

      <%#*</div>%>

      <!-- Navigation -->
      <%#= render "shared/menu" %>
      <!-- end #nav -->

      <span class="shutter png"></span>

      <!-- #slider -->
      <div id="slider">
        <!-- Title sobre el slider -->


        <h1><%= (@title_view.blank?)? controller.controller_name : @title_view %></h1>
        <img src="<%= root_url %>images/banner0.jpg" alt="Sistema de Informaci&oacute;n Cultural Pukara" />
      </div>
      <!-- end #slider -->


      <div id="page" class="relative">

        <!-- #content -->
        <div id="content" class="relative">
          <!-- contenido autogenerado -->
          <%= yield %>
          <!-- contenido autogenerado -->

        </div>
        <!-- end #content -->

      </div>
      <!-- end #page -->

      <div id="footer" class="relative">
        <ul class="social">
                        <li class="heading">
                            <h4>Redes Sociales</h4></li>
                        <li class="relative">
                            <a href="http://twitter.com/Sistema_Pukara" title="Siguenos en Twitter" class="tip" target="_blank"><img class="png" src="<%= root_url %>images/social/twitter.png" alt="Siguenos en Twitter" /></a></li>
                        <li class="relative">
                            <a href="mailto:pukara.cultural.2012@gmail.com" title="Escribenos" class="tip" ><img class="png" src="<%= root_url %>images/social/email.png" alt="Escribenos" /></a></li>
                        <li class="relative">
                            <a href="http://www.facebook.com/SistemaPukara" title="Visitanos en Facebook" class="tip" target="_blank"><img class="png" src="<%= root_url %>images/social/facebook.png" alt="Visitanos en Facebook" /></a></li>
                    </ul>

        <div class="twitter">
          <h4>Pukara</h4>
          <img src="<%= root_url %>images/pukara_logo2_med.png" alt="Sistema de Informaci&oacute;n Cultural Pukara"/>
          <!--
<h4>Qu&eacute; ir&iacute;a aqu&iacute;?</h4>
<div class="triangle png"></div>
<p id="tweet"></p>
<p class="right">
<small><a href="http://www.twitter.com/philipbeel" title="follow on twitter">follow on twitter </a>
</small>
</p>
          -->
        </div>
        <div class="about">
          <h4>Sistema de Informaci&oacute;n Cultural Pukara</h4>
          <p>Pukara es una plataforma de gesti&oacute;n y promoci&oacute;n de los bienes culturales de la cultura peruana. Ha sido diseñado para que el usuario disfrute de una experiencia inigualable al acercarse a la riqueza cultural peruana.</p>
        </div>
      </div>
      <!-- end #footer -->

    </div>
    <!-- end #container -->

    <!--</div>-->

    <div class="rights relative">
      <!-- Footer Navigation -->
      <p class="right">&copy; 2012 Sistema de Informaci&oacute;n Cultural Pukara</p>
      <p class="right">Themeforest Cult</p>
    </div>
    <!-- end .rights -->


    <!-- scprits -->
    <script type="text/javascript" src="<%= root_url %>javascripts/jquery.superfish.js"></script>
    <script type="text/javascript" src="<%= root_url %>javascripts/jquery.tweetable.js"></script>
    <script type="text/javascript" src="<%= root_url %>javascripts/jquery.tipsy.js"></script>

    <script type="text/javascript" src="<%= root_url %>javascripts/jquery.fancybox.1.3.4.pack.js"></script>
    <script type="text/javascript" src="<%= root_url %>javascripts/general.js"></script>

    <!--[if IE 6]>
    <script type='text/javascript' src='<%= root_url %>javascripts/dd_belated_png.js'></script>
    <script>DD_belatedPNG.fix('.png');</script>
    <![endif]-->

    <script type="text/javascript">
      jQuery(function() {
        //initiate the twitter feed
        jQuery('#tweet').tweetable({username: 'philipbeel', limit: 1});
      });
    </script>
  </body>
  <!-- end .container -->
</html>
